package com.vhall.component.controller.order.facade;

import com.vhall.component.entity.order.OrderDetailEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author guoxin.wang
 * @date 2021/5/28 10:15
 */
@FeignClient(value = "OrderInnerFacade", path = "/v4/order/inner")
public interface OrderInnerFacade {

    /**
     * 创建订单详情
     *
     * @param reqVO
     * @return
     */
    @PostMapping(value = "/create")
    Boolean create(@Validated OrderDetailEntity reqVO);

}
